<%@ page contentType="text/html;charset=UTF-8"%>
<%@ taglib uri="http://tiles.apache.org/tags-tiles" prefix="tiles"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ taglib prefix="sj" uri="/struts-jquery-tags"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<sj:head jqueryui="true" />
<script type="text/javascript" src="js/jquery/jquery-1.10.2.js"></script>
<script type="text/javascript" src="js/jquery/chosen.jquery.js"></script>
<script type="text/javascript" src="js/jquery/jquery-ui-1.10.3.custom.js"></script>
<script type="text/javascript" src="js/jquery/jquery.toastmessage.js"></script>
<script type="text/javascript" src="js/jquery/jquery.i18n.properties-1.0.9.js"></script>
<script type="text/javascript" src="js/jquery/jquery.form.js"></script>
<script type="text/javascript" src="js/general.js"></script>
<tiles:useAttribute id="scriptList" name="scripts" classname="java.util.List" ignore="true" />

<c:forEach var="js" items="${scriptList}">
	<script type="text/javascript" src="<%=request.getContextPath()%><c:out value="${js}"/>"></script>
</c:forEach>
<!--[if lt IE 9]>
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<!--[if lte IE 10]>
    <script type="text/javascript" src="js/generalIE.js"></script>
    <![endif]-->
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
<title><s:text name="pageTitle" /></title>
<!-- add your meta tags here -->
<link href="css/layout.css" rel="stylesheet" type="text/css" />
<!-- Google Web Fonts -->
<link href="http://fonts.googleapis.com/css?family=Arvo" type="text/css" rel="stylesheet">
<link href="http://fonts.googleapis.com/css?family=Droid+Serif" type="text/css" rel="stylesheet">
<link href="http://fonts.googleapis.com/css?family=Tangerine" type="text/css" rel="stylesheet">
<!--[if lte IE 8]>
      <link href="yaml/core/iehacks.css" rel="stylesheet" type="text/css"/>
      <![endif]-->
<link href="css/jquery.toastmessage.css" type="text/css" rel="stylesheet">
<link href="css/chosen.css" type="text/css" rel="stylesheet">
<link href="css/general.css" type="text/css" rel="stylesheet">
<tiles:useAttribute id="cssList" name="css" classname="java.util.List" ignore="true" />

<c:forEach var="css" items="${cssList}">
	<link type="text/css" rel="stylesheet" href="<%=request.getContextPath()%><c:out value="${css}"/>">
</c:forEach>
<!--[if lte IE 7]>
    <link href="yaml/core/iehacks.css" rel="stylesheet" type="text/css" />
    <![endif]-->

</head>
<body>
	<div id="main">
		<div class="modal"></div>
		<div class="ym-wrapper">
			<div class="ym-wbox">
				<tiles:insertAttribute name="header" />
				<tiles:insertAttribute name="nav" />
				<tiles:insertAttribute name="content" />
			</div>
		</div>
	</div>
</body>
</html>